package com.akk.module.avs.mapper;

import com.akk.module.avs.entity.AvsApplyLoan;
import com.akk.module.avs.entity.AvsApplyLoanExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AvsApplyLoanMapper {
    int countByExample(AvsApplyLoanExample example);

    int deleteByExample(AvsApplyLoanExample example);

    int deleteByPrimaryKey(Long loanId);

    int insert(AvsApplyLoan record);

    int insertSelective(AvsApplyLoan record);

    List<AvsApplyLoan> selectByExample(AvsApplyLoanExample example);

    AvsApplyLoan selectByPrimaryKey(Long loanId);

    int updateByExampleSelective(@Param("record") AvsApplyLoan record, @Param("example") AvsApplyLoanExample example);

    int updateByExample(@Param("record") AvsApplyLoan record, @Param("example") AvsApplyLoanExample example);

    int updateByPrimaryKeySelective(AvsApplyLoan record);

    int updateByPrimaryKey(AvsApplyLoan record);
}